import {createRouter,createWebHistory} from 'vue-router'


const router = createRouter({
    routes: [
    {
        path: '/',
        name: 'login',
        component:() => import('../views/login.vue')
    },
    {
        path: '/layout',
        name: 'layout',
        component:() =>import('../views/layout.vue')
    }
],
    history:createWebHistory()
})

export default router